package com.yummy.service;

import com.github.pagehelper.PageInfo;

import com.yummy.dto.DishDto;
import com.yummy.dto.QueryDishVo;
import com.yummy.entity.Category;
import com.yummy.entity.Dish;

import java.util.List;

/**
 * @author buding
 */
public interface DishService {
    //新增菜品和口味
    boolean addDish(Dish dish);

    PageInfo<DishDto> queryByPageAndCondition(QueryDishVo queryDishVo);

    boolean editDish(Dish dish);

    boolean removeDishs(String... ids);

    boolean updateStatus(String id,String status);

    Dish findDishById(String id);

	boolean addDishDto(DishDto dishDto);

    List<Dish> findDishByCategoryId(Long categoryId);
}
